package com.estate.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.estate.system.domain.Client;
import com.estate.system.domain.pojo.ClientInterestedVo;
import com.estate.system.domain.pojo.ClientRecommendationsVo;
import com.estate.system.domain.pojo.ClientRequirementVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Agent 数据层
 *
 * @author simon
 */
public interface ClientRequirementMapper extends BaseMapper<Client> {

    Page<ClientRequirementVo> clientRequirementsPages(IPage<ClientRequirementVo> page, @Param("req") ClientRequirementVo clientRequiremenVo);

    Page<ClientRecommendationsVo> clientRecommendationsPages(IPage<ClientRecommendationsVo> page, @Param("req") ClientRecommendationsVo clientRecommendationsVo);

    Page<ClientInterestedVo> clientInterestedPages(IPage<ClientInterestedVo> page, @Param("req") ClientInterestedVo clientInterestedVo);
}
